summaryrefslogtreecommitdiff
path: root/src/elements/prti.c
diff options
context:
space:
mode:
authorjacksonmj <mj-pt@jacksonmj.co.uk>2012-03-13 18:26:56 (GMT)
committer jacksonmj <mj-pt@jacksonmj.co.uk>2012-03-13 18:27:47 (GMT)
commitf41af456209923f64f8e1474f7fd06f2889c75b6 (patch)
tree5fa3cec39e2f21a577ef7922e7c5af98b00251d1 /src/elements/prti.c
parente83a1a21aec87374625106d654dbf8af0ff8117d (diff)
downloadpowder-f41af456209923f64f8e1474f7fd06f2889c75b6.zip
powder-f41af456209923f64f8e1474f7fd06f2889c75b6.tar.gz
Fix fighters not going through portals correctly
Diffstat (limited to 'src/elements/prti.c')
-rw-r--r--src/elements/prti.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/elements/prti.c b/src/elements/prti.c
index 57830ab..8d8f685 100644
--- a/src/elements/prti.c
+++ b/src/elements/prti.c
@@ -31,6 +31,9 @@ int update_PRTI(UPDATE_FUNC_ARGS) {
continue;
}
+ if ((r&0xFF)==PT_STKM || (r&0xFF)==PT_STKM2 || (r&0xFF)==PT_FIGH)
+ continue;// Handling these is a bit more complicated, and is done in STKM_interact()
+
if ((r&0xFF) == PT_SOAP)
detach(r>>8);