summaryrefslogtreecommitdiff
path: root/src/elements/prti.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-04-18 15:12:16 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-04-18 15:12:16 (GMT)
commit2ca07515c1367e31999d71c82982aa232e206acb (patch)
treea9f2ec342fc977630b455d4bad8a973ce8fdb15a /src/elements/prti.cpp
parentfa193eb7b4a76900a80bf9348a4877bf8943656e (diff)
downloadpowder-2ca07515c1367e31999d71c82982aa232e206acb.zip
powder-2ca07515c1367e31999d71c82982aa232e206acb.tar.gz
TPT: Fix fighters not going through portals correctly f41af45620
Diffstat (limited to 'src/elements/prti.cpp')
-rw-r--r--src/elements/prti.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/elements/prti.cpp b/src/elements/prti.cpp
index f5b2374..384fd7e 100644
--- a/src/elements/prti.cpp
+++ b/src/elements/prti.cpp
@@ -29,6 +29,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)
sim->detach(r>>8);