fixes #2791 don't crash on powerdown hotkey when playing cnc

This commit is contained in:
Matthias Mailänder
2013-03-20 11:54:15 +01:00
parent 99c3272a81
commit f0876828f4
5 changed files with 25 additions and 1 deletions

BIN
mods/cnc/bits/nopower.shp Normal file

Binary file not shown.

BIN
mods/cnc/bits/poweroff.shp Normal file

Binary file not shown.

View File

@@ -272,4 +272,16 @@ Cursors:
start:213
length:1
x:12
y:12
y:12
nopower: cursor
powerdown-blocked:
start:0
length: 1
x: 12
y: 12
powerdown:
start:1
length: 3
x: 12
y: 12

View File

@@ -28,6 +28,8 @@ Sounds:
CashTickUp:
CashTickDown:
LevelUp: text2
DisablePower: bleep11
EnablePower: bleep12
ChatLine: scold1
TabClick: button
ClickSound: button

View File

@@ -269,3 +269,13 @@ overlay:
Start: 0
target-invalid:
Start: 1
powerdown:
disabled: speed
Start: 3
poweroff:
offline:
Start: 0
Length: *
Tick: 160