diff options
| author | Simon 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) |
| commit | 2ca07515c1367e31999d71c82982aa232e206acb (patch) | |
| tree | a9f2ec342fc977630b455d4bad8a973ce8fdb15a /src/elements/prti.cpp | |
| parent | fa193eb7b4a76900a80bf9348a4877bf8943656e (diff) | |
| download | powder-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.cpp | 3 |
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); |
