From 12e23a56f8e682d950606192a9723e7225efa8e1 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Tue, 10 Apr 2012 03:22:07 +0000 Subject: [PATCH] - Only adjust the ceiling position of solid actors in A_RestoreSpecialPosition. SVN r3549 (trunk) --- src/g_shared/a_pickups.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_shared/a_pickups.cpp b/src/g_shared/a_pickups.cpp index 8303aea39..37e4597c9 100644 --- a/src/g_shared/a_pickups.cpp +++ b/src/g_shared/a_pickups.cpp @@ -391,7 +391,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_RestoreSpecialPosition) // initial spawn. self->z = self->floorz; } - if (self->z + self->height > self->ceilingz) + if ((self->flags & MF_SOLID) && (self->z + self->height > self->ceilingz)) { // Do the same for the ceiling. self->z = self->ceilingz - self->height; }