Comments (2)
Figured out the problem.
In ./tools/quake3/common/cmdlib.c, function ExpandPath(), the new code looks like this:
if ( !qdir[0] ) {
Error( "ExpandPath called without qdir set" );
}
The old code:
if (!qdir)
Error ("ExpandPath called without qdir set");
Note that "!qdir" is always false because qdir is defined (as an address).
However, the only thing that ever modifies qdir is SetQdirFromPath() in the same file.
Found out that in q3map2 nothing ever calls SetQdirFromPath().
So "!qdir[0]" in the new code is always true so the error always happens.
We need to either revert to the old check or make sure that SetQdirFromPath() is called before ExpandPath() is used.
q3map2 is broken and people are complaining...
from gtkradiant.
Thanks. Removed the check.
from gtkradiant.
Related Issues (20)
- Player height
- Warning messages when item is placed in map
- Build fails. image.so
- Windows compiling guide needs to be updated HOT 6
- Images don't load / Entities not rendering w/ Windows build HOT 2
- Buffer overflow in q3map2 when parsing malformed MAP file
- Doesn't Build On Compilers Which Default To C++17 HOT 5
- HOWTO producing Debian/Ubuntu packages HOT 2
- CRASH+workaround when editing/moving certain edges
- Grid views do not match up with program in 4k resolution, scaling does not work HOT 1
- `ERROR: patch has too many plane points` with Unvanquished `parpax.map` HOT 4
- scons fails with `OSError: 'pkg-config glu --cflags --libs' exited 1` HOT 1
- switch to XDG_CONFIG_HOME for config writes HOT 1
- A dependency for gtkradiant seems completely unobtainable in Xubuntu 22.04 HOT 1
- segfault on release build since XDG_STATE_HOME change HOT 4
- Radiant on RPI/ARM HOT 1
- bytebool.h error: two or more data types in declaration specifiers HOT 1
- error: ‘nullptr’ was not declared in this scope HOT 1
- Integrate bspc into the source tree.
- Hardcoded directory paths
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gtkradiant.