View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003053 | FSSCP | SEXPs | public | 2014-05-31 03:48 | 2014-06-09 01:21 |
| Reporter | MageKing17 | Assigned To | MageKing17 | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 3.7.2 RC2 | ||||
| Summary | 0003053: Event Snapshot only functions in debug build. | ||||
| Description | Despite the instructions in karajorma's post introducing this feature ( http://www.hard-light.net/forums/index.php?topic=85174.0 ), enabling cheat mode will not allow you to save an event snapshot because the code only checks KEY_DEBUGGING and not KEY_DEBUGGING1 (the former of which only shows up in debug builds). Attached is a simple patch to make it function as the post implies it should have all along. | ||||
| Tags | No tags attached. | ||||
|
|
keycontrol.cpp.patch (332 bytes)
Index: code/io/keycontrol.cpp
===================================================================
--- code/io/keycontrol.cpp (revision 10731)
+++ code/io/keycontrol.cpp (working copy)
@@ -636,6 +636,7 @@
switch (k) {
case KEY_DEBUGGED + KEY_Q:
+ case KEY_DEBUGGED1 + KEY_Q:
Snapshot_all_events = true;
break;
|
|
|
looks good to me - see the similar arrangement for other keys like this. case KEY_DEBUGGED + KEY_X: case KEY_DEBUGGED1 + KEY_X: |
|
|
Fix committed to trunk@10740. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2014-05-31 03:48 | MageKing17 | New Issue | |
| 2014-05-31 03:48 | MageKing17 | File Added: keycontrol.cpp.patch | |
| 2014-05-31 06:38 | Echelon9 | Status | new => code review |
| 2014-05-31 07:09 | niffiwan | Note Added: 0015776 | |
| 2014-06-02 08:04 | niffiwan | Changeset attached | => fs2open trunk r10740 |
| 2014-06-02 08:04 | niffiwan | Note Added: 0015782 | |
| 2014-06-02 08:04 | niffiwan | Status | code review => resolved |
| 2014-06-02 08:04 | niffiwan | Resolution | open => fixed |
| 2014-06-09 01:21 | Goober5000 | Assigned To | => MageKing17 |