about summary refs log tree commit diff
path: root/src/game/server/entities
diff options
context:
space:
mode:
authorDominik Geyer <dominik.geyer@gmx.de>2008-10-18 20:37:41 +0000
committerDominik Geyer <dominik.geyer@gmx.de>2008-10-18 20:37:41 +0000
commit3cdb90c10c29facca3b28f57c1c815bdcc5dc5b1 (patch)
tree3c4c9650a78a8ac1b4b93757e0d1337b03d5f1db /src/game/server/entities
parent9d1c56e2fd31ad5e5a02506e715831bba66b23c9 (diff)
downloadzcatch-3cdb90c10c29facca3b28f57c1c815bdcc5dc5b1.tar.gz
zcatch-3cdb90c10c29facca3b28f57c1c815bdcc5dc5b1.zip
reset flag when it hits a death-tile; ticket #513
Diffstat (limited to 'src/game/server/entities')
-rw-r--r--src/game/server/entities/character.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/server/entities/character.cpp b/src/game/server/entities/character.cpp
index 18db9e3b..88fa3ffa 100644
--- a/src/game/server/entities/character.cpp
+++ b/src/game/server/entities/character.cpp
@@ -601,6 +601,7 @@ void CHARACTER::tick()
 	core.input = input;
 	core.tick(true);
 	
+	// handle death-tiles
 	if(col_get((int)pos.x, (int)pos.y)&COLFLAG_DEATH)
 		die(player->client_id, -1);