summaryrefslogtreecommitdiff
path: root/src/elements/prti.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/prti.c')
-rw-r--r--src/elements/prti.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/elements/prti.c b/src/elements/prti.c
index 4d3a4be..a7e2013 100644
--- a/src/elements/prti.c
+++ b/src/elements/prti.c
@@ -18,6 +18,7 @@ int update_PRTI(UPDATE_FUNC_ARGS) {
{
portal[parts[i].tmp][count-1][nnx] = parts[r>>8].type;
portaltemp[parts[i].tmp][count-1][nnx] = parts[r>>8].temp;
+ portalctype[parts[i].tmp][count-1][nnx] = parts[r>>8].ctype;
if (parts[r>>8].type==PT_SPRK)
part_change_type(r>>8,x+rx,y+ry,parts[r>>8].ctype);
else