]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Make rockets spin
authorMario <mario@smbclan.net>
Mon, 3 Apr 2017 19:39:37 +0000 (05:39 +1000)
committerMario <mario@smbclan.net>
Mon, 3 Apr 2017 19:39:37 +0000 (05:39 +1000)
qcsrc/client/weapons/projectile.qc

index ae5ae630c3d1343137aa510094728915f4c5d8e1..2ece66e9dda37a428a285ab9da33a496598bdcb7 100644 (file)
@@ -109,6 +109,9 @@ void Projectile_Draw(entity this)
                        case PROJECTILE_HOOKBOMB:
                                rot = '1000 0 0';  // forward
                                break;
+                       case PROEJCTILE_ROCKET:
+                               rot = '0 0 720'; // spinning
+                               break;
                        default:
                                break;
                }