about summary refs log tree commit diff
path: root/src/game/server/entities/character.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/server/entities/character.cpp')
-rw-r--r--src/game/server/entities/character.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/server/entities/character.cpp b/src/game/server/entities/character.cpp
index 8ad15284..98650f81 100644
--- a/src/game/server/entities/character.cpp
+++ b/src/game/server/entities/character.cpp
@@ -594,7 +594,10 @@ void CHARACTER::tick()
 	core.tick(true);
 	
 	// handle death-tiles
-	if(col_get((int)pos.x, (int)pos.y)&COLFLAG_DEATH)
+	if(col_get((int)pos.x+6, (int)pos.y-6)&COLFLAG_DEATH ||
+			col_get((int)pos.x+6, (int)pos.y+6)&COLFLAG_DEATH ||
+			col_get((int)pos.x-6, (int)pos.y-6)&COLFLAG_DEATH ||
+			col_get((int)pos.x-6, (int)pos.y+6)&COLFLAG_DEATH)
 		die(player->client_id, -1);
 
 	// handle weapons